]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Revert "messageTray: Special-case chat notifications to use the old actor"
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 21 Feb 2015 20:41:18 +0000 (21:41 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Mar 2015 14:48:37 +0000 (15:48 +0100)
This was really just a temporary hack to buy us more time to properly port
chat notifications to the new banners ...

This reverts commit cd5318baa7699923f9757e25576c9fb4e3aef2ac.

https://bugzilla.gnome.org/show_bug.cgi?id=746343

js/ui/messageTray.js

index 1256a13a653e9d5d6d3a8bbd5dbd5207040203a9..4d7d93518253873818166b104d84e08e18162eab 100644 (file)
@@ -1939,11 +1939,7 @@ const MessageTray = new Lang.Class({
             this.idleMonitor.add_user_active_watch(Lang.bind(this, this._onIdleMonitorBecameActive));
         }
 
-        // HACK: didn't manage to get chat into a proper state in time
-        if (this._notification.source.isChat)
-            this._banner = this._notification;
-        else
-            this._banner = this._notification.createBanner();
+        this._banner = this._notification.createBanner();
         this._bannerClickedId = this._banner.connect('done-displaying',
                                                      Lang.bind(this, this._escapeTray));
         this._bannerUnfocusedId = this._banner.connect('unfocused', Lang.bind(this, function() {